﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Media;

using Microsoft.Surface;
using Microsoft.Surface.Presentation;
using Microsoft.Surface.Presentation.Controls;
using Microsoft.Surface.Presentation.Input;

namespace eGrid_App
{
    public class BookmarkListItem : SurfaceListBoxItem
    {
        private Bookmark relatedTicket;
        private bool opened;

        public Bookmark Bookmark
        {
            get
            {
                return relatedTicket;
            }
        }

        public bool IsOpen
        {
            get
            {
                return opened;
            }
            set
            {
                opened = value;
            }
        }


        public BookmarkListItem(Bookmark tTicket)
        {
            relatedTicket = tTicket;
            this.Content = tTicket.Description;
        }
    }
}
